package com.wugui.datax.job.service.impl;

import com.wugui.datax.job.entity.HbaseDemo;
import com.wugui.datax.job.mapper.base.HbaseMapper;
import com.wugui.datax.job.service.HbaseDemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author luofei
 * @date 2021/6/25 17:13
 */
@Service
public class HbaseDemoServiceImpl implements HbaseDemoService {

    @Autowired
    private HbaseMapper hbaseMapper;

    @Override
    public List<HbaseDemo> query() {
        return hbaseMapper.hBaseTemplate().findAll(10,HbaseDemo.class);
    }
}
